import request from '@/utils/request'
// const prefix = 'health-channel/'
const prefix = 'gnmpp/'
// 学耕教育广告Api

// 发布信息
export function saveNewMedia(data) {
    return request({
        url: prefix + 'gnmpp/saveNewMedia',
        method: 'post',
        data
    })
}

// 多条查询信息
export function searchList(data){
    return request({
        url: prefix + 'gnmpp/searchList',
        method: 'post',
        data
    })
}

// 删除信息
export function deleteNewMedia(data){
    return request({
        url: prefix + 'gnmpp/deleteNewMedia',
        method: 'delete',
        params: data
    })
}

